package com.zmn.oms.dubbo.interfaces.normal.order;

import com.zmn.common.dto2.ResponseDTO;
import com.zmn.oms.common.dro.tag.OrderTagDetailsDRO;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

import javax.validation.constraints.NotNull;
import java.util.List;


/**
 * 类描述：工单标签查询服务
 *
 * @author fudifnag
 * @date 2022/6/30 11:03
 */
@Api(value = "工单标签查询服务", tags = {"工单标签"})
public interface OrderTagListRemoteService {


    /**
     * 根据工单id和标签id查询标签信息
     * @param orderId 工单id
     * @param tagId 标签id
     * @return
     */
    @ApiOperation(nickname = "listOrderTagByOrderIdAndTagId", value = "工单标记详情", notes = "工单标记详情", response = ResponseDTO.class)
    ResponseDTO<List<OrderTagDetailsDRO>> listOrderTagByOrderIdAndTagId(@NotNull(message = "订单号不能为空")Long orderId, @NotNull(message = "标签id不能为空")Integer tagId);
}
